package cn.wolfcode.crud.service;

import cn.wolfcode.crud.domain.Permission;
import cn.wolfcode.crud.qo.PageResult;
import cn.wolfcode.crud.qo.QuerObjcet;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    void delete(Long id);

    void insert(Permission permission);

    Permission get(Long id);

    List<Permission> selectAll();

    void update(Permission permission);
    PageInfo<Permission> query(QuerObjcet qo);

    void reload();

    List<String> selectByemp(Long id);
}
